.class Lcom/glympse/android/glympse/ViewSplash$MyGlympseView;
.super Lcom/glympse/android/glympse/Glympse$GlympseView;
.source "ViewSplash.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/glympse/android/glympse/ViewSplash;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "MyGlympseView"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/glympse/android/glympse/ViewSplash;


# direct methods
.method constructor <init>(Lcom/glympse/android/glympse/ViewSplash;)V
    .locals 0
    .parameter

    .prologue
    .line 45
    iput-object p1, p0, Lcom/glympse/android/glympse/ViewSplash$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewSplash;

    invoke-direct {p0}, Lcom/glympse/android/glympse/Glympse$GlympseView;-><init>()V

    return-void
.end method


# virtual methods
.method public CreateView()V
    .locals 7

    .prologue
    const/4 v6, 0x1

    .line 57
    :try_start_0
    iget-object v2, p0, Lcom/glympse/android/glympse/ViewSplash$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewSplash;

    invoke-virtual {v2}, Lcom/glympse/android/glympse/ViewSplash;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-static {v2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v2

    const v3, 0x7f030023

    iget-object v4, p0, Lcom/glympse/android/glympse/ViewSplash$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewSplash;

    const/4 v5, 0x1

    invoke-virtual {v2, v3, v4, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v1

    .line 60
    .local v1, oView:Landroid/view/View;
    iget-object v2, p0, Lcom/glympse/android/glympse/ViewSplash$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewSplash;

    const/4 v3, 0x0

    const/16 v4, 0xa

    const/16 v5, 0x29

    invoke-static {v3, v4, v5}, Landroid/graphics/Color;->rgb(III)I

    move-result v3

    invoke-virtual {v2, v3}, Lcom/glympse/android/glympse/ViewSplash;->setBackgroundColor(I)V

    .line 63
    sget-boolean v2, Lcom/glympse/platform/ProviderSkyhook;->SKYHOOK_SUPPORTED:Z

    if-eqz v2, :cond_0

    .line 65
    const v2, 0x7f0c007d

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/view/View;->setVisibility(I)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 74
    .end local v1           #oView:Landroid/view/View;
    :cond_0
    :goto_0
    sget-object v2, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    invoke-virtual {v2}, Lcom/glympse/android/glympseservice/GlympseService;->StartSignIn()V

    .line 76
    sget-object v2, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    iput-boolean v6, v2, Lcom/glympse/android/glympseservice/GlympseService;->m_fSplashShown:Z

    .line 79
    iget-object v2, p0, Lcom/glympse/android/glympse/ViewSplash$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewSplash;

    invoke-static {v2}, Lcom/glympse/android/glympse/ViewSplash;->access$0(Lcom/glympse/android/glympse/ViewSplash;)V

    .line 80
    return-void

    .line 68
    :catch_0
    move-exception v2

    move-object v0, v2

    .line 70
    .local v0, e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto :goto_0
.end method

.method public DestroyView()V
    .locals 1

    .prologue
    .line 85
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSplash$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewSplash;

    invoke-static {v0}, Lcom/glympse/android/glympse/ViewSplash;->access$1(Lcom/glympse/android/glympse/ViewSplash;)V

    .line 86
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSplash$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewSplash;

    invoke-virtual {v0}, Lcom/glympse/android/glympse/ViewSplash;->removeAllViews()V

    .line 87
    return-void
.end method

.method public DoUpdate(I)V
    .locals 1
    .parameter "nUpdateFlags"

    .prologue
    .line 92
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    invoke-virtual {v0}, Lcom/glympse/platform/Platform;->IsSignedIn()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 94
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewSplash$MyGlympseView;->this$0:Lcom/glympse/android/glympse/ViewSplash;

    invoke-virtual {v0}, Lcom/glympse/android/glympse/ViewSplash;->GoToMap()V

    .line 96
    :cond_0
    return-void
.end method
